#include <cstdio>
#include "delegate.h"



void foo1(int)
{
	printf("foo1\n");
}

void foo2(int)
{
	printf("foo2\n");
}


int main()
{
	delegate::Delegate<void (int),false> d;
	d = &foo1;
	d += &foo2;

	d(1);
	return 0;
}